home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Games Special 4 / THE BEST OF SELECT Games Special 4 (Select CD-ROM)(1996).iso / win95 / gchess / chess32.rc < prev    next >
Text File  |  1995-02-22  |  17KB  |  435 lines

  1. /*
  2.   C source for GNU CHESS
  3.  
  4.   Revision: 1990-09-30
  5.  
  6.   Modified by Daryl Baker for use in MS WINDOWS environment
  7.  
  8.   Revision: 2-22-1995
  9.  
  10.   Modified by Jake Oshins for use in Win32 environments.
  11.  
  12.   This file is part of CHESS.
  13.  
  14.   CHESS is distributed in the hope that it will be useful, but WITHOUT ANY
  15.   WARRANTY.  No author or distributor accepts responsibility to anyone for
  16.   the consequences of using it or for whether it serves any particular
  17.   purpose or works at all, unless he says so in writing.  Refer to the CHESS
  18.   General Public License for full details.
  19.  
  20.   Everyone is granted permission to copy, modify and redistribute CHESS, but
  21.   only under the conditions described in the CHESS General Public License.
  22.   A copy of this license is supposed to have been given to you along with
  23.   CHESS so you can know your rights and responsibilities.  It should be in a
  24.   file named COPYING.  Among other things, the copyright notice and this
  25.   notice must be preserved on all copies.
  26. */
  27.  
  28. //Microsoft Visual C++ generated resource script.
  29. //
  30. #include "resource.h"
  31.  
  32. #define APSTUDIO_READONLY_SYMBOLS
  33. /////////////////////////////////////////////////////////////////////////////
  34. //
  35. // Generated from the TEXTINCLUDE 2 resource.
  36. //
  37. #define APSTUDIO_HIDDEN_SYMBOLS
  38. #include "windows.h"
  39. #undef APSTUDIO_HIDDEN_SYMBOLS
  40. #include "chess.h"
  41. #include "saveopen.h"
  42. #include "color.h"
  43. #include "timecnt.h"
  44. #include "stats.h"
  45.  
  46. /////////////////////////////////////////////////////////////////////////////
  47. #undef APSTUDIO_READONLY_SYMBOLS
  48.  
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Icon
  53. //
  54.  
  55. CHESS                   ICON    DISCARDABLE     "Chess.ico"
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58. //
  59. // Bitmap
  60. //
  61.  
  62. PAWN                    BITMAP  MOVEABLE PURE   "pawn.bmp"
  63. ROOK                    BITMAP  MOVEABLE PURE   "rook.bmp"
  64. KNIGHT                  BITMAP  MOVEABLE PURE   "knight.bmp"
  65. BISHOP                  BITMAP  MOVEABLE PURE   "bishop.bmp"
  66. QUEEN                   BITMAP  MOVEABLE PURE   "queen.bmp"
  67. KING                    BITMAP  MOVEABLE PURE   "king.bmp"
  68. PAWNM                   BITMAP  MOVEABLE PURE   "pawnm.bmp"
  69. ROOKM                   BITMAP  MOVEABLE PURE   "rookm.bmp"
  70. KNIGHTM                 BITMAP  MOVEABLE PURE   "knightm.bmp"
  71. BISHOPM                 BITMAP  MOVEABLE PURE   "bishopm.bmp"
  72. QUEENM                  BITMAP  MOVEABLE PURE   "queenm.bmp"
  73. KINGM                   BITMAP  MOVEABLE PURE   "kingm.bmp"
  74. PAWNO                   BITMAP  MOVEABLE PURE   "pawno.bmp"
  75. ROOKO                   BITMAP  MOVEABLE PURE   "rooko.bmp"
  76. KNIGHTO                 BITMAP  MOVEABLE PURE   "knighto.bmp"
  77. BISHOPO                 BITMAP  MOVEABLE PURE   "bishopo.bmp"
  78. QUEENO                  BITMAP  MOVEABLE PURE   "queeno.bmp"
  79. KINGO                   BITMAP  MOVEABLE PURE   "kingo.bmp"
  80.  
  81. /////////////////////////////////////////////////////////////////////////////
  82. //
  83. // Dialog
  84. //
  85.  
  86. AboutBox DIALOG DISCARDABLE  19, 18, 218, 147
  87. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  88. CAPTION "GNU Chess 3.21 for Windows"
  89. FONT 8, "System"
  90. BEGIN
  91.     DEFPUSHBUTTON   "OK",1,93,122,32,14,WS_GROUP
  92.     ICON            "CHESS",IDC_STATIC,20,12,18,20
  93.     CTEXT           "Daryl K. Baker",105,57,4,107,8,NOT WS_GROUP
  94.     CTEXT           "Wed Dec 28 02:03:55 1989",106,57,13,107,8,NOT WS_GROUP
  95.     CTEXT           "Copyright \251 1985-1991 Free Software Foundation Inc.",
  96.                     108,0,76,218,8,NOT WS_GROUP
  97.     LTEXT           "GNU Chess 2nd version original copyright \251 1986 John Stanback",
  98.                     109,2,104,215,8,NOT WS_GROUP
  99.     CONTROL         "",110,"Static",SS_BLACKFRAME,0,69,216,1
  100.     CTEXT           "Compiled with Microsoft C 6.00ax",111,57,47,107,8,NOT 
  101.                     WS_GROUP
  102.     CTEXT           "Linked with Microsoft Win32 SDK",112,57,55,107,8,NOT 
  103.                     WS_GROUP
  104.     LTEXT           "GNU Chess original copyright \251 1985 Stuart Cracraft",
  105.                     113,3,93,215,8,NOT WS_GROUP
  106.     LTEXT           "Windows version additional copyright \251 1990-1991 Daryl Baker",
  107.                     114,3,84,215,8,NOT WS_GROUP
  108.     LTEXT           "Win32 version: Jake Oshins",IDC_STATIC,65,28,95,8
  109. END
  110.  
  111. FILESAVE DIALOG DISCARDABLE  10, 10, 180, 54
  112. STYLE WS_POPUP | WS_DLGFRAME
  113. BEGIN
  114.     LTEXT           "Save File &Name As:",-1,6,4,84,12
  115.     LTEXT           "",IDD_FPATH,90,4,78,12
  116.     EDITTEXT        IDD_FNAME,6,20,104,12,ES_AUTOHSCROLL
  117.     DEFPUSHBUTTON   "OK",IDOK,124,20,50,14,WS_GROUP
  118.     PUSHBUTTON      "Cancel",IDCANCEL,124,36,50,14,WS_GROUP
  119. END
  120.  
  121. FILEOPEN DIALOG DISCARDABLE  6, 9, 219, 106
  122. STYLE WS_POPUP | WS_DLGFRAME
  123. BEGIN
  124.     LTEXT           "Open File &Name:",-1,7,4,61,10
  125.     EDITTEXT        IDD_FNAME,70,3,83,12,ES_AUTOHSCROLL
  126.     LTEXT           "&Files:",-1,7,24,38,10
  127.     LTEXT           "",IDD_FPATH,70,24,143,12
  128.     LISTBOX         IDD_FLIST,7,36,60,65,LBS_SORT | WS_VSCROLL | WS_TABSTOP
  129.     DEFPUSHBUTTON   "&OK",IDOK,160,64,50,14,WS_GROUP
  130.     PUSHBUTTON      "&Cancel",IDCANCEL,160,87,50,14,WS_GROUP
  131.     LISTBOX         IDD_DLIST,73,52,68,49,LBS_SORT | WS_VSCROLL
  132.     LTEXT           "&Directories:",-1,73,39,53,10,NOT WS_GROUP
  133. END
  134.  
  135. WILDFILEOPEN DIALOG DISCARDABLE  6, 9, 219, 106
  136. STYLE WS_POPUP | WS_DLGFRAME
  137. BEGIN
  138.     LTEXT           "Open File &Name:",-1,7,4,61,10
  139.     EDITTEXT        IDD_FNAME,70,3,83,12,ES_AUTOHSCROLL
  140.     LTEXT           "&Files:",-1,7,24,38,10
  141.     LTEXT           "",IDD_FPATH,70,19,143,12
  142.     LISTBOX         IDD_FLIST,7,36,60,65,LBS_SORT | WS_VSCROLL | WS_TABSTOP
  143.     DEFPUSHBUTTON   "&Browse",IDD_BROWSE,160,41,50,14
  144.     PUSHBUTTON      "&OK",IDOK,160,64,50,14,WS_GROUP
  145.     PUSHBUTTON      "&Cancel",IDCANCEL,160,87,50,14,WS_GROUP
  146.     LISTBOX         IDD_DLIST,73,52,68,49,LBS_SORT | WS_VSCROLL
  147.     LTEXT           "&Directories:",-1,73,39,53,10,NOT WS_GROUP
  148. END
  149.  
  150. NUMBERDLG DIALOG DISCARDABLE  10, 10, 180, 54
  151. STYLE WS_POPUP | WS_DLGFRAME
  152. BEGIN
  153.     CTEXT           "",IDD_CHAR,9,4,162,12
  154.     EDITTEXT        IDD_INT,6,20,104,12,ES_AUTOHSCROLL
  155.     DEFPUSHBUTTON   "OK",IDOK,124,20,50,14,WS_GROUP
  156.     PUSHBUTTON      "Cancel",IDCANCEL,124,36,50,14,WS_GROUP
  157. END
  158.  
  159. COLOR DIALOG DISCARDABLE  10, 20, 139, 177
  160. STYLE WS_POPUP | WS_DLGFRAME
  161. BEGIN
  162.     CTEXT           "Window Background Color",IDD_HEADING,0,2,139,12,NOT 
  163.                     WS_GROUP
  164.     GROUPBOX        "Color",203,6,15,128,130
  165.     RADIOBUTTON     "Black",CNT_BLACK,18,26,28,12,WS_TABSTOP
  166.     RADIOBUTTON     "Blue",CNT_BLUE,18,40,28,12,WS_TABSTOP
  167.     RADIOBUTTON     "Green",CNT_GREEN,18,54,28,12,WS_TABSTOP
  168.     RADIOBUTTON     "Cyan",CNT_CYAN,18,68,28,12,WS_TABSTOP
  169.     RADIOBUTTON     "Red",CNT_RED,18,82,28,12,WS_TABSTOP
  170.     RADIOBUTTON     "Pink",CNT_PINK,18,96,28,12,WS_TABSTOP
  171.     RADIOBUTTON     "Yellow",CNT_YELLOW,18,110,38,12,WS_TABSTOP
  172.     RADIOBUTTON     "Pale Gray",CNT_PALEGRAY,18,124,51,12,WS_TABSTOP
  173.     RADIOBUTTON     "Dark Gray",CNT_DARKGRAY,74,26,54,12,WS_TABSTOP
  174.     RADIOBUTTON     "Dark Blue",CNT_DARKBLUE,74,40,54,12,WS_TABSTOP
  175.     RADIOBUTTON     "Dark Green",CNT_DARKGREEN,74,54,48,12,WS_TABSTOP
  176.     RADIOBUTTON     "Dark Cyan",CNT_DARKCYAN,74,68,54,12,WS_TABSTOP
  177.     RADIOBUTTON     "Dark Red",CNT_DARKRED,74,82,54,12,WS_TABSTOP
  178.     RADIOBUTTON     "Dark Pink",CNT_DARKPINK,74,97,54,12,WS_TABSTOP
  179.     RADIOBUTTON     "Brown",CNT_BROWN,74,110,54,12,WS_TABSTOP
  180.     RADIOBUTTON     "White",CNT_WHITE,74,124,54,12,WS_TABSTOP
  181.     DEFPUSHBUTTON   "OK",IDD_OK,17,154,38,14
  182.     PUSHBUTTON      "Cancel",IDD_CANCEL,85,154,38,14
  183. END
  184.  
  185. TIMECONTROL DIALOG DISCARDABLE  48, 48, 180, 126
  186. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  187. CAPTION "Set Time Limits"
  188. BEGIN
  189.     GROUPBOX        "Number of moves",201,10,11,160,32
  190.     GROUPBOX        "Time limit",202,10,51,160,32
  191.     RADIOBUTTON     "1",TMDLG_1MOV,22,24,20,12,WS_TABSTOP
  192.     RADIOBUTTON     "10",TMDLG_10MOV,52,24,20,12,WS_TABSTOP
  193.     RADIOBUTTON     "20",TMDLG_20MOV,81,24,20,12,WS_TABSTOP
  194.     RADIOBUTTON     "40",TMDLG_40MOV,112,24,20,12,WS_TABSTOP
  195.     RADIOBUTTON     "60